Optimal. Leaf size=292 \[ -\frac{\left (\sqrt{a} B-A \sqrt{c}\right ) \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{a}+\sqrt{c} x\right )}{8 \sqrt{2} a^{5/4} c^{5/4}}+\frac{\left (\sqrt{a} B-A \sqrt{c}\right ) \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{a}+\sqrt{c} x\right )}{8 \sqrt{2} a^{5/4} c^{5/4}}-\frac{\left (\sqrt{a} B+A \sqrt{c}\right ) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}\right )}{4 \sqrt{2} a^{5/4} c^{5/4}}+\frac{\left (\sqrt{a} B+A \sqrt{c}\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}+1\right )}{4 \sqrt{2} a^{5/4} c^{5/4}}-\frac{\sqrt{x} (a B-A c x)}{2 a c \left (a+c x^2\right )} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.472119, antiderivative size = 292, normalized size of antiderivative = 1., number of steps used = 11, number of rules used = 8, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.4 \[ -\frac{\left (\sqrt{a} B-A \sqrt{c}\right ) \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{a}+\sqrt{c} x\right )}{8 \sqrt{2} a^{5/4} c^{5/4}}+\frac{\left (\sqrt{a} B-A \sqrt{c}\right ) \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{a}+\sqrt{c} x\right )}{8 \sqrt{2} a^{5/4} c^{5/4}}-\frac{\left (\sqrt{a} B+A \sqrt{c}\right ) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}\right )}{4 \sqrt{2} a^{5/4} c^{5/4}}+\frac{\left (\sqrt{a} B+A \sqrt{c}\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}+1\right )}{4 \sqrt{2} a^{5/4} c^{5/4}}-\frac{\sqrt{x} (a B-A c x)}{2 a c \left (a+c x^2\right )} \]
Antiderivative was successfully verified.
[In] Int[(Sqrt[x]*(A + B*x))/(a + c*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 90.3069, size = 265, normalized size = 0.91 \[ - \frac{\sqrt{x} \left (- A c x + B a\right )}{2 a c \left (a + c x^{2}\right )} + \frac{\sqrt{2} \left (A \sqrt{c} - B \sqrt{a}\right ) \log{\left (- \sqrt{2} \sqrt [4]{a} c^{\frac{3}{4}} \sqrt{x} + \sqrt{a} \sqrt{c} + c x \right )}}{16 a^{\frac{5}{4}} c^{\frac{5}{4}}} - \frac{\sqrt{2} \left (A \sqrt{c} - B \sqrt{a}\right ) \log{\left (\sqrt{2} \sqrt [4]{a} c^{\frac{3}{4}} \sqrt{x} + \sqrt{a} \sqrt{c} + c x \right )}}{16 a^{\frac{5}{4}} c^{\frac{5}{4}}} - \frac{\sqrt{2} \left (A \sqrt{c} + B \sqrt{a}\right ) \operatorname{atan}{\left (1 - \frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}} \right )}}{8 a^{\frac{5}{4}} c^{\frac{5}{4}}} + \frac{\sqrt{2} \left (A \sqrt{c} + B \sqrt{a}\right ) \operatorname{atan}{\left (1 + \frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}} \right )}}{8 a^{\frac{5}{4}} c^{\frac{5}{4}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**(1/2)*(B*x+A)/(c*x**2+a)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.569117, size = 276, normalized size = 0.95 \[ \frac{\sqrt{2} \left (a^{3/4} A c-a^{5/4} B \sqrt{c}\right ) \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{a}+\sqrt{c} x\right )+\sqrt{2} \left (a^{5/4} B \sqrt{c}-a^{3/4} A c\right ) \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{c} \sqrt{x}+\sqrt{a}+\sqrt{c} x\right )-2 \sqrt{2} \left (a^{3/4} A c+a^{5/4} B \sqrt{c}\right ) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}\right )+2 \sqrt{2} \left (a^{3/4} A c+a^{5/4} B \sqrt{c}\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{c} \sqrt{x}}{\sqrt [4]{a}}+1\right )+\frac{8 a c^{3/4} \sqrt{x} (A c x-a B)}{a+c x^2}}{16 a^2 c^{7/4}} \]
Antiderivative was successfully verified.
[In] Integrate[(Sqrt[x]*(A + B*x))/(a + c*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.019, size = 316, normalized size = 1.1 \[ 2\,{\frac{1}{c{x}^{2}+a} \left ( 1/4\,{\frac{A{x}^{3/2}}{a}}-1/4\,{\frac{B\sqrt{x}}{c}} \right ) }+{\frac{B\sqrt{2}}{16\,ac}\sqrt [4]{{\frac{a}{c}}}\ln \left ({1 \left ( x+\sqrt [4]{{\frac{a}{c}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{a}{c}}} \right ) \left ( x-\sqrt [4]{{\frac{a}{c}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{a}{c}}} \right ) ^{-1}} \right ) }+{\frac{B\sqrt{2}}{8\,ac}\sqrt [4]{{\frac{a}{c}}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}}+1 \right ) }+{\frac{B\sqrt{2}}{8\,ac}\sqrt [4]{{\frac{a}{c}}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}}-1 \right ) }+{\frac{A\sqrt{2}}{16\,ac}\ln \left ({1 \left ( x-\sqrt [4]{{\frac{a}{c}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{a}{c}}} \right ) \left ( x+\sqrt [4]{{\frac{a}{c}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{a}{c}}} \right ) ^{-1}} \right ){\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}}+{\frac{A\sqrt{2}}{8\,ac}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}}+1 \right ){\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}}+{\frac{A\sqrt{2}}{8\,ac}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}}-1 \right ){\frac{1}{\sqrt [4]{{\frac{a}{c}}}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^(1/2)*(B*x+A)/(c*x^2+a)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*sqrt(x)/(c*x^2 + a)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.300313, size = 1216, normalized size = 4.16 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*sqrt(x)/(c*x^2 + a)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**(1/2)*(B*x+A)/(c*x**2+a)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.284653, size = 379, normalized size = 1.3 \[ \frac{A c x^{\frac{3}{2}} - B a \sqrt{x}}{2 \,{\left (c x^{2} + a\right )} a c} + \frac{\sqrt{2}{\left (\left (a c^{3}\right )^{\frac{1}{4}} B a c + \left (a c^{3}\right )^{\frac{3}{4}} A\right )} \arctan \left (-\frac{\sqrt{2}{\left (\sqrt{2} \left (\frac{a}{c}\right )^{\frac{1}{4}} - 2 \, \sqrt{x}\right )}}{2 \, \left (\frac{a}{c}\right )^{\frac{1}{4}}}\right )}{8 \, a^{2} c^{3}} - \frac{\sqrt{2}{\left (\left (a c^{3}\right )^{\frac{1}{4}} B a c - \left (a c^{3}\right )^{\frac{3}{4}} A\right )}{\rm ln}\left (-\sqrt{2} \sqrt{x} \left (\frac{a}{c}\right )^{\frac{1}{4}} + x + \sqrt{\frac{a}{c}}\right )}{16 \, a^{2} c^{3}} + \frac{\sqrt{2}{\left (\left (a c^{3}\right )^{\frac{1}{4}} B a c^{3} + \left (a c^{3}\right )^{\frac{3}{4}} A c^{2}\right )} \arctan \left (\frac{\sqrt{2}{\left (\sqrt{2} \left (\frac{a}{c}\right )^{\frac{1}{4}} + 2 \, \sqrt{x}\right )}}{2 \, \left (\frac{a}{c}\right )^{\frac{1}{4}}}\right )}{8 \, a^{2} c^{5}} + \frac{\sqrt{2}{\left (\left (a c^{3}\right )^{\frac{1}{4}} B a c^{3} - \left (a c^{3}\right )^{\frac{3}{4}} A c^{2}\right )}{\rm ln}\left (\sqrt{2} \sqrt{x} \left (\frac{a}{c}\right )^{\frac{1}{4}} + x + \sqrt{\frac{a}{c}}\right )}{16 \, a^{2} c^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*sqrt(x)/(c*x^2 + a)^2,x, algorithm="giac")
[Out]